package net.maku.bean.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import net.maku.utils.DateUtils;

import java.io.Serializable;
import java.util.Date;

/**
* 返利记录表
*
* @author 阿沐 babamu@126.com
* @since 1.0.0 2024-09-06
*/
@Data
@Schema(description = "返利记录表")
public class WebIncomeRecordVO implements Serializable {
	private static final long serialVersionUID = 1L;

	@Schema(description = "id")
	private Long id;

	@Schema(description = "获利人微信ID")
	private String openid;

	@Schema(description = "获利人用户ID")
	private String userid;

	@Schema(description = "支付人微信ID")
	private String payerOpenid;

	@Schema(description = "支付人支付交易ID")
	private String payerPayid;

	@Schema(description = "返利金额")
	private String amount;

	@Schema(description = "状态 1：正常  -1：失败")
	private Integer status;

	@Schema(description = "失败原因")
	private String remark;

	@Schema(description = "删除标识  0：正常   1：已删除")
	private Integer deleted;

	@Schema(description = "创建者")
	private Long creator;

	@Schema(description = "创建时间")
	@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
	private Date createTime;

	@Schema(description = "更新者")
	private Long updater;

	@Schema(description = "更新时间")
	@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
	private Date updateTime;


}